package com.fbms.common.result;

/**
 * @author lan
 * @since 2023/03/15  9:52
 */
public enum ResStatus {


    /* 正常*/
    success(200, "成功"),

    fail(-1, "失败"),

    warn(201, "警告");


    private final int code;

    private final String msg;

    ResStatus(int code, String msg) {
        this.code = code;
        this.msg = msg;
    }

    public int getCode() {
        return this.code;
    }

    public String getMsg() {
        return this.msg;
    }

}
